package minotaur.stat;

public class StatManager implements StatNotifiable {

    private int statPoints;
    private StatList sl;
    private int cachedLevel;
    
    public void derive( StatType st ) {
        
    }
    
    public void increment( StatType st ) {
        sl.update(st, 1);
    }
    
    public void derive( StatType type, int value ) {
        if( value > cachedLevel ) {
            cachedLevel = value;
            statPoints += 3;
        }
    }
    
}
